#!/bin/bash
##取IP##
start_ip(){
chmod 777 /var/log/dev -R


cd  /www/first/webmanlds/ &&   /usr/bin/php /www/first/webmanlds/start.php start -d 

echo `date +%Y-%m-%d` `date +%H:%M:%S` "开机自启正常" >> /server/log/php_sh.log
}

main(){
    
    start_ip
}
main
